/*
package com.ruoyi.web.consumer;

import com.ruoyi.datastatistics.service.IDongJiancallBackService;
import com.ruoyi.datastatistics.service.IGuoXincallBackService;
import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
import org.apache.rocketmq.spring.core.RocketMQListener;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Component
@Repository
@RocketMQMessageListener(topic = "dongjiannbTopic", consumerGroup = "dongjiannb")
public class DongJianNBConsumer implements RocketMQListener<String> {

    @Resource
    private IDongJiancallBackService dongJiancallBackService;
    @Override
    public void onMessage(String message) {
        dongJiancallBackService.callBackSubscribe(message);
    }
}


*/
